package edu.princeton.cogsci.wn;

/**
 *  This interface models a unique identifier for a synset. Keys are
 *  represented in an implementation-specific manner. For example, the ASCII
 *  implementation of the WordNet database represents synset keys as a part
 *  of speech plus a file offset. The SQL implementation represents the same
 *  information as an integer for indexing into the Synsets table.
 *  <P>
 *  Classes implementing <CODE>SynsetKey</CODE> should not provide public
 *  constructors -- instances should only be able to be created by a call to
 *  a <CODE>WordNetImpl.lookupSynsetKey</CODE> method for any given
 *  implementation.
 */

public interface SynsetKey
{
    public boolean equals( Object other );
}
